﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Master;
namespace Thaire.Investment.Repository.Mapping
{
    class BankMap : ClassMap<Bank>
    {

        public BankMap()
        {
            Table("BANK");
            Id(x => x.BankId, "BANK_ID").GeneratedBy.Native();

            Map(x => x.BankCode, "BANK_CODE");
            Map(x => x.BankBranchCode, "BANK_BRANCH_CODE");
            Map(x => x.BankNameEn, "BANK_NAME_EN");
            Map(x => x.BankNameTh, "BANK_NAME_TH");
            Map(x => x.BankStatus, "BANK_STATUS");

        }


    }
}
